import request from '@/utils/request'
import { AxiosPromise } from 'axios'
/**
 * 获取权限列表
 * @returns
 */
function getPermissionList(): AxiosPromise {
  return request({
    url: '/users/getPermissionList',
    method: 'get'
  })
}

export { getPermissionList }
